package com.zhao.integration;

import org.springframework.integration.annotation.Gateway;
import org.springframework.integration.annotation.MessagingGateway;

@MessagingGateway
public abstract interface DefaultMessagingGateway {
	@Gateway(requestChannel = "eventPublishChannel")
	public abstract void publish(Object paramObject);

	@Gateway(requestChannel = "asyncEventPublishChannel")
	public abstract void asyncPublish(Object paramObject);
}